package com.ymt.bpm.service.platform.fauth;

import com.alibaba.fastjson.JSONObject;
import com.ymt.bpm.model.PPos;

/**
 * Created by Johnny on 2017/2/20.
 */
public interface FaPosService {

    JSONObject allByTenant(String tenantId,
                                  String queryArgs,
                                  int timezoneOffset);

    JSONObject get(String tenantId, String posId, String lang, int timezoneOffset);

    String checkAttr(String tenantId, String attrName, String value, String posId);

    JSONObject save(String tenantId, String loginName, String displayName, PPos pos);

    JSONObject delete(String tenantId, String loginName, String displayName, String posId);

    String queryDhx(String tenantId, String queryParams, int fInd, int lInd, int timezoneOffset, String lang, String ordercolumns);
}
